<template>

	<div class="main">
		<el-menu class="menu">
			<el-menu-item index="1" @click="this.$router.push('/overview/first')">
				<span>{{ $t('menu.overview') }}</span>
			</el-menu-item>
			<el-menu-item index="2" @click="this.$router.push('/overview/historyExpert')">
				<span>{{ $t('menu.historyExperts') }}</span>
			</el-menu-item>
			<el-menu-item index="3" @click="this.$router.push('/overview/bigEvent')">
				<span>{{ $t('menu.bigEvents') }}</span>
			</el-menu-item>
		</el-menu>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				activeIndex: '1'
			}
		}
	}
</script>

<style scoped>
	.main {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;

		
		ul{
			background-color: #d9d9d9;
		}
		
	
	}
	/* 菜单栏区域 */
	.menu {
		width: 150px;
		font-size: 12px;
		color: #000;
		
	
	}
	
	.el-menu-item {
		padding: 10px;
		
	}
	
	.icon-filled {
		color: #409EFF;
		/* Element UI的主题色或其他你想要的填充颜色 */
		fill: currentColor;
	}
	
	.el-menu-item {
		margin-bottom: 16px; /* 每个菜单项之间的间隔 */
		padding: 12px 0;     /* 上下内边距，增大点击区域 */
		width: 100%;         /* 填满 menu 宽度 */
		text-align: center;  /* 文字水平居中 */
		display: flex;
		justify-content: center; /* 文字居中 */
		align-items: center;     /* 垂直居中 */
		box-sizing: border-box;
	}
	
	
</style>